package com.wjc.train.member.service;

import com.wjc.train.member.req.MemberLoginReq;
import com.wjc.train.member.req.MemberRegisterReq;
import com.wjc.train.member.req.MemberSendCodeReq;
import com.wjc.train.member.resp.MemberLoginResp;

import java.util.List;

/**
 * @author Guessed
 */
public interface IMemberService {

    /**
     * 注册
     * @param memberList
     * @return
     */
    Boolean register(List<MemberRegisterReq> memberList);

    /**
     * 登录
     * @param memberLoinReq
     * @return
     */
    MemberLoginResp login(MemberLoginReq memberLoinReq);


    /**
     * 发送验证码
     * @param memberSendCodeReq
     */
    void sendCode(MemberSendCodeReq memberSendCodeReq);
}
